package org.rc.dto;

import lombok.Data;
import org.rc.entity.Slp;

@Data
public class SlpPageRes {
    private Long id;
    private String name;
    private String mac;
    private String roomName;

    public static SlpPageRes getInstance(Slp slp){
        SlpPageRes slpPageRes = new SlpPageRes();
        slpPageRes.setId(slp.getId());
        slpPageRes.setName(slp.getName());
        slpPageRes.setMac(slp.getMac());
        return slpPageRes;
    }
}
